package com.yuntsg.ruiijn.database.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 单位联系人_主体
 * </p>
 *
 * @author ZFL
 * @since 2023-06-01
 */
@Data
@TableName("unit_contact")
public class UnitContact implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单位ID
     */
    private Integer unitId;

    private Integer uid;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 联系人
     */
    private String deptContact;

    private String phone;

    private String email;

    private String unitName;

    private String land;

    private String job;

    /**
     * 1置顶
     */
    private Integer topFlag;

    /**
     * 创建时间
     */
    private LocalDateTime sysCreateTime;

    /**
     * 更新时间
     */
    private LocalDateTime sysUpdateTime;

    @TableField(exist = false)
    private Integer typeOne;

    @TableField(exist = false)
    private Integer typeTwo;

    @TableField(exist = false)
    private Integer typeThree;

    @TableField(exist = false)
    private Integer typeFour;

    @TableField(exist = false)
    private Integer typeFive;


}
